package net.huashitong.ssydt.security.entity;

import net.huashitong.ssydt.base.entity.LongEntity;

/**
 * @author huiyang.yu
 */
public class SsUserLoginToken extends LongEntity {

    private static final long serialVersionUID = 2944648548357764783L;

    private String userId;//用户Id

    private String token;//app登录凭证

    private Long expiration;//凭证过期时间

    private String openId; //微信支付使用

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getExpiration() {
        return expiration;
    }

    public void setExpiration(Long expiration) {
        this.expiration = expiration;
    }

    public String getOpenId() { return openId; }

    public void setOpenId(String openId) { this.openId = openId; }
}
